package com.qwz.model.creator;

import com.qwz.model.product.ExportFileApi;

/**
* @Description:  抽象的工厂
* @Author: Qiuwuzhi
* @CreateDate: 2019/12/13 0013下午 10:44
* @Version V1.0
*/
public abstract class ExportCreator {

    protected abstract ExportFileApi factoryMethod();

    public boolean export(String data){
        ExportFileApi api = factoryMethod();
        return api.export(data);
    }
}
